#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int a, b;
	for (a = 1; a <= 9; a++)
	{
		for (b = a; b <= 9; b++)
		{
			printf("%d * %d = %d  ", a, b, a * b);
		}
		printf("\n");
	}
	return 0;
}